package com.test.jdk8.demo1;

/**
 * @ClassName Formula
 * @Description TODO
 * @Author 维康
 * @Date 2018/7/9 19:00
 * @Version 1.0
 **/
public interface Formula {
    double calculate(int a);
    default double sqrt(int a) {
        return Math.sqrt(a);
    }
}
